package com.yzh.grainmall.ware;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * @author yuzhen
 * @create 2021-05-24 22:31
 */
//开启feign客户度的远程调用功能
//扫描feign文件夹下的带有@FeignClient注解的接口
@EnableFeignClients(basePackages = "com.yzh.grainmall.ware.feign")
@SpringBootApplication
@EnableDiscoveryClient
public class GrainmallWareApplication {
    public static void main(String[] args) {
        SpringApplication.run(GrainmallWareApplication.class, args);
    }
}
